package com.fh_24.bean;

public class Emp {
    private String end;
    private String ename;
    private String egender;
    private int did;
    private Dep dep;
    public Emp() {
    }

    public Emp(String end, String ename, String egender, int did, Dep dep) {
        this.end = end;
        this.ename = ename;
        this.egender = egender;
        this.did = did;
        this.dep = dep;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEgender() {
        return egender;
    }

    public void setEgender(String egender) {
        this.egender = egender;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public Dep getDep() {
        return dep;
    }

    public void setDep(Dep dep) {
        this.dep = dep;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "end='" + end + '\'' +
                ", ename='" + ename + '\'' +
                ", egender='" + egender + '\'' +
                ", did=" + did +
                ", dep=" + dep +
                '}';
    }
}
